<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>盒子模型-内边距</title>
    <style>
        div {
            width: 400px;
            height: 400px;
            background-color: pink;
            /* padding: 30px; */
            padding-top: 10px;
            padding-bottom: 30px;
            padding-right: 20px;
            padding-left: 40px;
        }
    </style>
</head>

<body>
    <div>
        标签
    </div>
</body>

</html>